#include <stdio.h>

int main(int argc,char const *argv[])
{
    FILE* file = fopen("test.txt","a+");
    if (file == NULL)
    {
        printf("打开文件失败！\n");
    }
    else
    {
        printf("打开文件成功！（%p)\n",file);
    }
    return 0;
}

